home *** CD-ROM | disk | FTP | other *** search
- // SCRIPTING
- // Move the value from one field to another
- program MoveField;
- const
- SourceField = -1;
- TargetField = -1;
- WholeFieldOnly = False;
- begin
- if (SourceField = -1) or (TargetField = -1) then
- begin
- ShowMessage('Please modify the default value of "SourceField" and "TargetField"');
- Error;
- end;
- SetField(TargetField, GetField(SourceField));
- SetField(SourceField, '');
- end.
-